<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>买家管理</title>
    <link rel="shortcut icon" href="__STATIC__/favicon.ico"> <link href="__STATIC__/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link rel="shortcut icon" href="__STATIC__/favicon.ico"> <link href="__STATIC__/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="__STATIC__/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">

    <!-- Data Tables -->
    <link href="__STATIC__/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="__STATIC__/css/animate.min.css" rel="stylesheet">
    <link href="__STATIC__/css/style.min.css?v=4.0.0" rel="stylesheet">
    <meta charset="utf-8" />

</head>

<body class="gray-bg">{include file="comm/left"}
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>买家 <small>管理</small></h5>
                    </div>
                        <div class="ibox-content">
                        <table class="table table-striped table-bordered table-hover dataTables-example">
                           <thead>
                                <tr>
                                    <th >ID</th>
                                    <th >推荐人--卖家姓名</th>
                                    <th >积分</th>
                                    <th >充值金额</th>
                                    <th >手机号</th>
                                    <th >邮箱</th>
                                    <th >登陆账号</th>

                                    <th >所在地区</th>
                                    <th >操作</th>
                                </tr>
                            </thead><tbody>
                        {volist  id="buyer"  name="buyer"}

                                <tr>
                                    <td >{$key+1}</td>
                                    <td >{$buyer.prefix}{if $buyer.prefix==null}{else}--{/if}{$buyer.name}</td>
                                    <td >{$buyer.intergral}</td>
                                    <td >{$buyer.money}</td>
                                    <td >{$buyer.iphone}</td>
                                    <td >{$buyer.email}</td>
                                    <td >{$buyer.account}</td>

                                    <td >{$buyer.path}</td>
                                    <td width="15%">
                                     <a  href="mod?id={$buyer.id}" class="btn btn-info "><i class="fa fa-paste"></i> <span class="bold">修改</span></a>
                                    <a  href="javascript:;" onclick="deletel('{:url('index/buyers/deldo')}',{$buyer.id})" class="btn btn-warning "><i class="fa fa-warning"></i><span class="bold">删除</span></a>
                                </td>
                                </tr>

                        {/volist}</tbody>
                            <tfoot>
                                  <tr>
                                    <th >ID</th>
                                    <th >姓名</th>
                                    <th >积分</th>
                                    <th >充值金额</th>
                                    <th >手机号</th>
                                    <th >邮箱</th>
                                    <th >登陆账号</th>
                                    
                                    <th >所在地区</th>
                                    <th >操作</th>
                                </tr>
                            </tfoot>
                        </table>

                    </div>
    <script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/js/bootstrap.min.js?v=3.3.5"></script>
    <script src="__STATIC__/js/plugins/jeditable/jquery.jeditable.js"></script>
    <script src="__STATIC__/js/plugins/dataTables/jquery.dataTables.js"></script>
    <script src="__STATIC__/js/plugins/dataTables/dataTables.bootstrap.js"></script>
    <script src="__STATIC__/js/content.min.js?v=1.0.0"></script>
    <script>
        $(document).ready(function(){$(".dataTables-example").dataTable();var oTable=$("#editable").dataTable();oTable.$("td").editable("../example_ajax.php",{"callback":function(sValue,y){var aPos=oTable.fnGetPosition(this);oTable.fnUpdate(sValue,aPos[0],aPos[1])},"submitdata":function(value,settings){return{"row_id":this.parentNode.getAttribute("id"),"column":oTable.fnGetPosition(this)[2]}},"width":"90%","height":"100%"})});function fnClickAddRow(){$("#editable").dataTable().fnAddData(["Custom row","New row","New row","New row","New row"])};

    </script>

    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>

</body>

</html>
